package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.company;

import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.settlement.SettlementBaseVO;
import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.settlement.SettlementDetailBaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 管理后台 - 企业合同退租 Request VO
 */
@Schema(description = "管理后台 - 退租Vo")
@Data
@ToString(callSuper = true)
public class CompanyContractRefundReqVO  extends SettlementBaseVO {

    List<Long> contractIds;

    /**
     * 企业合同结算明细
     */
    @Schema(description = "结算明细")
    private List<SettlementDetailBaseVO> settlementVos;

    /**
     * 首期账单 金额
     * */
    private BigDecimal firstBillPid;
    /**
     *抵扣金额
     * */
    @NotNull(message = "金额不能为空")
    private BigDecimal discountValue;

}
